const express =require('express'),
      app = express(),
      {resolve}=require('path')

  
app.use(express.static(resolve(__dirname,'dist'),{index:'index.html'}))
app.listen(9000,function(err){
    if(!!err){
        console.log('服务器启动失败')
    }else{
        console.log('9000端口监听中')
    }
})

// app.get('/',function(req,res){
//     res.send('9527')
// })

